/*
 * @Author: C.
 * @Date: 2023-04-14 09:52:02
 */
import { createEnumObject } from '../jv_package/utils/data/createEnumObject';
export const stateEnum = createEnumObject([
  /// <summary>
  /// 未提交 <clock-circle-outlined />
  /// </summary>
  {
    label: '未提交',
    value: 'Unsubmitted',
    color: '#64748B',
    icon: 'ant-design:clock-circle-outlined',
    options: {
      edit: true,
      del: true,
      Mps: false,
    },
  },
  /// <summary>
  /// 已提交
  /// </summary>
  {
    label: '已提交',
    value: 'Submitted',
    color: '#3B82F6',
    icon: 'ant-design:check-square-outlined',
    options: {
      edit: false,
      del: false,
      Mps: false,
    },
  },
  /// <summary>
  /// 审核中< />
  /// </summary>
  {
    label: '审核中',
    value: 'Approving',
    color: '#F59E0B',
    icon: 'ant-design:sync-outlined',
    options: {
      edit: true,
      del: true,
      Mps: false,
    },
  },
  /// <summary>
  /// 已审核
  /// </summary>
  {
    label: '已审核',
    value: 'Approved',
    color: '#84CC16',
    icon: 'ant-design:check-circle-outlined',
    options: {
      edit: false,
      del: false,
      Mps: true,
    },
  },
  /// <summary>
  /// 已拒绝
  /// </summary>
  {
    label: '已拒绝',
    value: 'Rejected',
    color: '#EF4444',
    icon: 'ant-design:exclamation-circle-outlined',
    options: {
      edit: true,
      del: true,
      Mps: false,
    },
  },
  /// <summary>
  /// 已完成
  /// </summary>
  {
    label: '已完成',
    value: 'Completed',
    color: '#4ADE80',
    icon: 'ant-design:check-outlined',
    options: {
      edit: false,
      del: false,
      Mps: false,
    },
  },
  /// <summary>
  /// 废弃< />
  /// </summary>
  {
    label: '废弃',
    value: 'Discarded',
    color: '#A855F7',
    icon: 'ant-design:stop-outlined',
    options: {
      edit: false,
      del: false,
      Mps: false,
    },
  },
  // 错误状态
  {
    label: '错误',
    value: 'Fail',
    color: '#881337',
    icon: 'ant-design:warning-outlined',
    options: {
      edit: false,
      del: false,
      Mps: false,
    },
  },
]);
